﻿<%@ Page Title="" Language="C#" MasterPageFile="~/localRealTwitterApp.Master" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="Twitter.offline.Index" %>
<asp:Content ID="Content1" ContentPlaceHolderID="title" runat="server">
Liste des utulisateurs
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="header" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="pageTitle" runat="server">
Utilisateurs ayant des tweets enregistr&eacute;s
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="pageContent" runat="server">
<div class="post_body nicelist">
    <ol>
     <% 
         IEnumerable<Twitter.User> lst = getAllMember();
         bool alt = true;
    if(lst != null)
        foreach (Twitter.User u in lst)
        {
            String altClass = alt ? "alt" : "";
            alt = !alt;
   %>
     <li class="<%=altClass %>">

						<div class="comment_gravatar left">
							<img alt="" src="<%=u.profileUrl %>" height="32" width="32" />
                            
						</div>
                        

						<div class="comment_author left">
                        <div class="date"></div>
							<span class="comment"> <a href="Amis.aspx?userid=<%=u.ID %>">@<b><%=u.screenName%></b> <%=u.name %></a></span>
						</div>
		              <div class="clearer">&nbsp;</div>
						
						<div class="body">									
						
						</div>
		</li>		
     
     <%} %>
</ol>
</div>  
</asp:Content>
